//
//  LotteryCell.m
//  BCW
//
//  Created by Mac on 16/3/29.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "LotteryCell.h"

@interface LotteryCell()
@property (weak, nonatomic) IBOutlet UILabel *indexL;

@property (weak, nonatomic) IBOutlet UILabel *numberL;
@property (weak, nonatomic) IBOutlet UILabel *danShuangL;
@property (weak, nonatomic) IBOutlet UILabel *bigSmallL;
@end

@implementation LotteryCell
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

- (void)setViewColor:(UIColor *)viewColor{
    _viewColor = viewColor;
    _indexL.backgroundColor = viewColor;
    _numberL.backgroundColor = viewColor;
    _danShuangL.backgroundColor = viewColor;
    _bigSmallL.backgroundColor = viewColor;
}


- (void)setModel:(LotteryCellModel *)model{
    _model = model;
    
//    _indexL.text = model.numIndex;
    _numberL.text = model.number;
    _danShuangL.text = model.danShuang;
    _bigSmallL.text = model.bigOrSmall;
    
}

- (void)setIndexStr:(NSString *)indexStr{
    _indexL.text = indexStr;
}

@end
